package cn.diandiandidi.sm.userdata;

import java.util.UUID;

import org.json.JSONObject;

public class UserDataLayout {

	public UserDataLayout(JSONObject jsonObject) {
	}

	public JSONObject toJSONObject() {
		return null;
	}
	
	public UUID getID() { return m_ID; }
	
	private UUID m_ID;

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((m_ID == null) ? 0 : m_ID.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		UserDataLayout other = (UserDataLayout) obj;
		if (m_ID == null) {
			if (other.m_ID != null)
				return false;
		} else if (!m_ID.equals(other.m_ID))
			return false;
		return true;
	}
	
	
}
